all:server client

client:tcpclient.cc
	g++ -o $@ $^ -std=c++11
server:main.cc
	g++ -o $@ $^ -std=c++11 -lpthread

clean:
	rm server client